#pragma once

EXTERN_C BOOL IsExistDriver(LPCTSTR pszDriverName);
EXTERN_C BOOL RegisterDriver(LPCTSTR pszDriverName, LPCTSTR pszDriverPath);
EXTERN_C BOOL UnregisterDriver(LPCTSTR pszDriverName);
EXTERN_C BOOL RunDriver(LPCTSTR pszDriverName);
EXTERN_C BOOL StopDriver(LPCTSTR pszDriverName);

EXTERN_C BOOL ControlDriver(LPCTSTR pszDriverName, DWORD dwCode, 
                            LPVOID lpInBuffer, DWORD nInBufferSize, 
                            LPVOID lpOutBuffer, DWORD nOutBufferSize, 
                            LPDWORD lpBytesReturned);

EXTERN_C LPCTSTR GetLastErrorDescription();
